home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 63 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.7 KB

  1. From: austern@isolde.mti.sgi.com (Matt Austern)
  2. Message-ID: <AUSTERN.96Jan17133343@isolde.mti.sgi.com>
  3. X-Original-Date: 17 Jan 1996 21:33:43 GMT
  4. Path: in2.uu.net!bounce-back
  5. Date: 18 Jan 96 02:36:47 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Newsgroups: comp.std.c++
  8. Subject: Re: STL still in standard
  9. Organization: SGI
  10. References: <4dd7on$djk@rc1.vub.ac.be> <4dgrb4$a2e@engnews1.Eng.Sun.COM>
  11.     <4dj7eu$2sp@news.ios.com>
  12. Reply-To: austern@mti.mti.sgi.com
  13. In-Reply-To: aishdas@haven.ios.com's message of 17 Jan 1996 12:22:21 PST
  14. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  15.     iQBFAgUBMP2yUOEDnX0m9pzZAQGDoAF+KQ2iYlyeEb1TkPW3DlQOs2Ek+FqlVa4x
  16.     2opwkqBhOgxNhENRE7C49FdI+dnqS4FW
  17.     =7+aI
  18.  
  19. In article <4dj7eu$2sp@news.ios.com> aishdas@haven.ios.com (Micha Berger)
  20. writes:
  21.  
  22. > STL just isn't OO. It's the creation of algorythms that are not connected
  23. > to the data they act upon. That doesn't make STL inherently wrong, but it
  24. > does seem out of place in light of the number of design decisions made
  25. > to enable OO.
  26.  
  27. It's true that STL isn't an object-oriented library; it was never
  28. supposed to be.  It enables generic programming, which is a valuable
  29. technique in its own right.
  30.  
  31. There's no reason why every C++ library should be object-oriented: The
  32. design goal of C++ has always been to support object-oriented
  33. programming, but to support other styles of programming too.  Bjarne
  34. Stroustrup discusses this in great detail in D&E.
  35. -- 
  36. Matt Austern
  37. SGI: MTI Compilers Group
  38. austern@isolde.mti.sgi.com
  39. ---
  40. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  41.   Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  42.   is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
  43.